import requests
WebServer = None
OS = None
Language = None
DataBase = None

info_session = requests.Session()
UA = "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.13 Safari/537.36"
info_session.headers = {"User-Agent": UA,
                   "Referer": "http://www.v2ex.com/signin"
                   }
res = info_session.get('http://43.143.198.167/')
Server = res.headers.get('Server')

if Server is not None:
    WebServer = Server.split('/')[0]
    if len(Server.split('/')) > 1:
        OS = Server.split('/')[1]